import requests
import json


headers = {
    "Accept": "*/*",
    "Accept-Language": "zh-CN,zh;q=0.9",
    "Cache-Control": "no-cache",
    "Connection": "keep-alive",
    "Content-Type": "application/json",
    "Origin": "https://dewu.com",
    "Pragma": "no-cache",
    "Referer": "https://dewu.com/",
    "SK;": "",
    "Sec-Fetch-Dest": "empty",
    "Sec-Fetch-Mode": "cors",
    "Sec-Fetch-Site": "same-site",
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36",
    "adi": "MTg1MTVjOGQzMTlmYjJlMDw61PwqRZdjlOIMO7w7E6V8OSEB1HPe+/re+9h8Oww6kfwpVOWcOowpTDp8K6w45XLA==",
    "ltk": "LcKxwqXDksOoJcO9w7DCiMKKL8K0w6TCisOsdMOmwpbCnMKiPjXCl3zDk8OqKcOHXwTCvHTDmyrDg8OFwq1iBcOvRGrCqMOxwqPCicKIw7rCpcOJ",
    "sec-ch-ua": '"Chromium";v="139", "Not;A=Brand";v="99"',
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": '"Windows"',
    "sessionid": "t1rjk95x-w92w-vzpr-2pqw-waz6fbjpgd5fylky",
    "shumeiId": "202506271029341eac9d26c383c942f0ebc8aa91fd1a8200c09fd72499d4ad",
    "sks": "1,hdw4",
    "traceparent": "00-f533f934685e021ce249ad9368434e21-3006945d5a1ceaad-01",
}
cookies = {
    "sajssdk_2015_cross_new_user": "1",
    "sensorsdata2015jssdkcross": "%7B%22distinct_id%22%3A%22197af380bc8670-0866d2473769fb8-26011051-2073600-197af380bca621%22%2C%22first_id%22%3A%22%22%2C%22props%22%3A%7B%22%24latest_traffic_source_type%22%3A%22%E7%9B%B4%E6%8E%A5%E6%B5%81%E9%87%8F%22%2C%22%24latest_search_keyword%22%3A%22%E6%9C%AA%E5%8F%96%E5%88%B0%E5%80%BC_%E7%9B%B4%E6%8E%A5%E6%89%93%E5%BC%80%22%2C%22%24latest_referrer%22%3A%22%22%7D%2C%22identities%22%3A%22eyIkaWRlbnRpdHlfY29va2llX2lkIjoiMTk3YWYzODBiYzg2NzAtMDg2NmQyNDczNzY5ZmI4LTI2MDExMDUxLTIwNzM2MDAtMTk3YWYzODBiY2E2MjEifQ%3D%3D%22%2C%22history_login_id%22%3A%7B%22name%22%3A%22%22%2C%22value%22%3A%22%22%7D%2C%22%24device_id%22%3A%22197af380bc8670-0866d2473769fb8-26011051-2073600-197af380bca621%22%7D",
}
url = "https://app.dewu.com/api/v1/h5/commodity-pick-interfaces/pc/pick-rule-result/feeds/info"
data = {
    "data": "53be985dbab90f79827b3a1e82ccdafawpQOKsKuCDM8wpcCbsOlwoTDtUrChkJ9IEUPw5TDg8KtckMpw5h2w5pbw70TQMK4OlzDv2NqPhRIH8ONwpsXfGHCvsOwZm46BcO+AcOfw78IPsK5WH3CkTMJw65hVhVHw7LCsUbDksOAWsKawp4lw7kPwpoZwr/DvsKxw4XCnsKmw5jDtsOsw5AxL8KFZsKww5JSw6cfdinClSXCnsOcwovCncOWw47CjMKHwqPDpMKAwq5LQgo8HQ=="
}
data = json.dumps(data, separators=(",", ":"))
response = requests.post(url, headers=headers, cookies=cookies, data=data)

print(response.text)
print(response)
